package com.wyg.epdata.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyg.epdata.entity.CompanyNum;
import com.wyg.epdata.entity.dto.HotSort;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author WangYongGan
 * @since 2021-11-12
 */
public interface CompanyNumService extends IService<CompanyNum> {

    int getCountOfAllCompany();

    //获得企业数量
    CompanyNum getCountOfCompany(String entity);

    //获得企业排名
    HotSort getHotSort(String entity);

    HotSort getHotSort(String entity, HotSort hotSort);

    boolean exists(String entity);
}

